#!/bin/echo Warning: this library should be sourced!
# myostype(): 在当前操作系统中定义了MYOSTYPE变量
myostype() {
    osname=`uname -s`
    #假设我们不知道是说明类型系统
    MYOSTYPE=UNKNOWN
    case $MYOSTYPE in
        "FredBSD") MYOSTYPE="FREEBSD"
        ;;
        "SunOS") MYOSTYPE="SOLARIS"
        ;;
        "Linux") MYOSTYPE="LINUX"
        ;;
    esac
    return 0
}
